New Storage Refactor #404

Merged
sarah merged 33 commits from p2p-interim-new-storage into master 2021-11-25 23:56:51 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit a4e62fe902 - Show all commits

View File

@ -93,6 +93,8 @@ func GenerateRandomID() string {
}
func (app *application) CreateTaggedPeer(name string, password string, tag string) {
app.appmutex.Lock()
defer app.appmutex.Unlock()
profileDirectory := path.Join(app.directory, "profiles", GenerateRandomID())