File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func NewMod(ctx context.Context, mod *postgres.Mod) {
4343 "embeds" : []interface {}{
4444 map [string ]interface {}{
4545 "title" : "**" + mod .Name + "**" ,
46- "url" : "https://ficsit.app/mod/" + mod .ID ,
46+ "url" : "https://ficsit.app/mod/" + mod .ModReference ,
4747 "color" : 16750592 ,
4848 "description" : mod .ShortDescription ,
4949 "fields" : []interface {}{
@@ -116,7 +116,7 @@ func NewVersion(ctx context.Context, version *postgres.Version) {
116116 "embeds" : []interface {}{
117117 map [string ]interface {}{
118118 "title" : "**" + mod .Name + " v" + version .Version + "**" ,
119- "url" : "https://ficsit.app/mod/" + mod .ID + "/version/" + version .ID ,
119+ "url" : "https://ficsit.app/mod/" + mod .ModReference + "/version/" + version .ID ,
120120 "color" : 16750592 ,
121121 "description" : "New Version Available!" ,
122122 "fields" : []interface {}{
You can’t perform that action at this time.
0 commit comments