diff options
author | Wim <wim@42.be> | 2018-04-21 20:49:44 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2018-04-21 20:49:44 +0200 |
commit | c3174f4de9ae60f2213f7ecdb9f3fac57925eadd (patch) | |
tree | 72fcbd6b0e967acff0c07314a780a1667de285ae | |
parent | 99ce68e9ba8b6cef5cd8a2da2f57a79c9f286bfc (diff) | |
download | matterbridge-msglm-c3174f4de9ae60f2213f7ecdb9f3fac57925eadd.tar.gz matterbridge-msglm-c3174f4de9ae60f2213f7ecdb9f3fac57925eadd.tar.bz2 matterbridge-msglm-c3174f4de9ae60f2213f7ecdb9f3fac57925eadd.zip |
Update GetFileLinks to API_V4
-rw-r--r-- | matterclient/matterclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index afd445b5..7da16eb0 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -574,7 +574,7 @@ func (m *MMClient) GetFileLinks(filenames []string) []string { res, resp := m.Client.GetFileLink(f) if resp.Error != nil { // public links is probably disabled, create the link ourselves - output = append(output, uriScheme+m.Credentials.Server+model.API_URL_SUFFIX_V3+"/files/"+f+"/get") + output = append(output, uriScheme+m.Credentials.Server+model.API_URL_SUFFIX_V4+"/files/"+f) continue } output = append(output, res) |