mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
add 10 personas for snare
This commit is contained in:
31
docker/tanner/snare/dist/pages/5/4bbf367876d2f25619f5279fa23be754
vendored
Normal file
31
docker/tanner/snare/dist/pages/5/4bbf367876d2f25619f5279fa23be754
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017
|
||||
*
|
||||
* This file is licensed under the Affero General Public License version 3
|
||||
* or later.
|
||||
*
|
||||
* See the COPYING-README file.
|
||||
*
|
||||
*/
|
||||
|
||||
(function() {
|
||||
/**
|
||||
* @class OC.Share.SharesCollection
|
||||
* @classdesc
|
||||
*
|
||||
* Represents a collection of shares
|
||||
*/
|
||||
var SharesCollection = OC.Backbone.Collection.extend({
|
||||
model: OC.Share.ShareModel,
|
||||
|
||||
url: function() {
|
||||
var params = {
|
||||
format: 'json'
|
||||
};
|
||||
return OC.linkToOCS('apps/files_sharing/api/v1/shares', 2) + '?' + OC.buildQueryString(params);
|
||||
}
|
||||
});
|
||||
|
||||
OC.Share = OC.Share || {};
|
||||
OC.Share.SharesCollection = SharesCollection;
|
||||
})();
|
||||
Reference in New Issue
Block a user