Skip to content

Commit

Permalink
Fix a wrong if statement in the Seznam connector
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Sep 2, 2024
1 parent abb940b commit 0bf48ef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Changelog

## v. 3.0.1
* Fix a wrong if statement in the Seznam connector

## v.3.0.0
## v. 3.0.0
* Removed deprecated providers
* Minimum support version is Meteor 3.0

Expand Down
2 changes: 1 addition & 1 deletion community-services/seznam.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Meteor.linkWithSeznam = function (options, callback) {
if (!Meteor.userId()) {
throw new Meteor.Error(402, 'Please login to an existing account before link.')
}
if (Package['storyteller:accounts-seznam']) {
if (!Package['storyteller:accounts-seznam']) {
throw new Meteor.Error(403, 'Please include storyteller:accounts-seznam package')
}

Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: 'Meteor external service link system',
version: '3.0.0',
version: '3.0.1',
git: 'https://github.com/Meteor-Community-Packages/meteor-link-accounts',
name: 'bozhao:link-accounts',
description: 'Link social accounts for Meteor'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meteor-link-accounts",
"version": "3.0.0",
"version": "3.0.1",
"private": true,
"description": "Link social accounts for Meteor",
"main": "package.js",
Expand Down

0 comments on commit 0bf48ef

Please sign in to comment.