projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more cosmetic changes
[svn42.git]
/
r3-webstatus-spaceapi
/
spaceapi
/
spaceapi.go
diff --git
a/r3-webstatus-spaceapi/spaceapi/spaceapi.go
b/r3-webstatus-spaceapi/spaceapi/spaceapi.go
index
d32aa79
..
4162295
100644
(file)
--- a/
r3-webstatus-spaceapi/spaceapi/spaceapi.go
+++ b/
r3-webstatus-spaceapi/spaceapi/spaceapi.go
@@
-148,8
+148,8
@@
func (nsi SpaceInfo) AddSpaceContactInfo(phone, irc, email, ml, jabber, issuemai
return nsi
}
return nsi
}
-func (nsi SpaceInfo) AddSpaceFeed(feedtype, mimetype, url string) SpaceInfo {
- newfeed := SpaceInfo{"type": mimetype, "url": url}
+func (nsi SpaceInfo) AddSpaceFeed(feedtype, url string) SpaceInfo {
+ newfeed := SpaceInfo{"url": url}
if nsi["feeds"] == nil {
nsi["feeds"] = SpaceInfo{feedtype: newfeed}
} else {
if nsi["feeds"] == nil {
nsi["feeds"] = SpaceInfo{feedtype: newfeed}
} else {