mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Some minor changes
This commit is contained in:
parent
cfeda08f1c
commit
55f8e042f3
|
|
@ -107,7 +107,7 @@ func PutTag(
|
||||||
if err = json.Unmarshal(data[0].Content, &tagContent); err != nil {
|
if err = json.Unmarshal(data[0].Content, &tagContent); err != nil {
|
||||||
return httputil.LogThenError(req, err)
|
return httputil.LogThenError(req, err)
|
||||||
}
|
}
|
||||||
}else{
|
} else {
|
||||||
tagContent = newTag()
|
tagContent = newTag()
|
||||||
}
|
}
|
||||||
tagContent.Tags[tag] = properties
|
tagContent.Tags[tag] = properties
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue