xyter/dist/commands/reputation/modules/repute/components/noSelfReputation.js
semantic-release-bot 3df4c05c5d chore(release): 1.3.3 [skip ci]
## [1.3.3](https://github.com/ZynerOrg/xyter/compare/v1.3.2...v1.3.3) (2022-12-13)

### Bug Fixes

* add custom semrel git ([c07befe](c07befe678))
2022-12-13 16:58:44 +00:00

7 lines
297 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (to, from) => {
if ((from === null || from === void 0 ? void 0 : from.id) === (to === null || to === void 0 ? void 0 : to.id)) {
throw new Error("You can only repute other users");
}
};